package Demo8.yield;

public class Test {
    @SuppressWarnings("all")
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(new MyRunnable(),"temp1");
        Thread t2 = new Thread(new MyRunnable(),"temp2");
        t1.start();
        t2.start();

    }
}
